//Doctor Office Simulation HEADERFILE  Yuzhe Wu 2/3  16:50

struct examSheet {
	int patientID;
	char* name;
	int age;
		
	char* symptom;
	double temparture;
	double bloodPressure;
	bool needShot;
	bool needXray;
	int imageNum;
	int xrayResult;
	int nextDestination;
};

//#define SYMPTOM_PAIN 1
//#define SYMPTOM_NAUSEA 2
//#define SYMPTOM_ALIENVOICE 3
//#define SYMPTOM_ERROR 0

#define EXAMROOM 1
#define XRAYROOM 2
#define CASHIER 3
#define NOWHERE 0

#define BUSY true
#define FREE false

#define GETFORM 1
#define GIVEFORM 2
#define CALLPATIENT 3
#define WRONGTASK 0

#define PATIENT 1
#define PARENT 2
#define WRONGPERSON 0

#define NOTHING 1
#define BREAK 2
#define COMPOUND 3
#define WRONGRESULT 0

#define MAXNURSENUM 5
#define MAXDOCNUM 3
#define MAXXRAYNUM 2
#define MAXEXAMROOMNUM 5


//money = basic($10) + shotmoney($50) + imageNum * moneyPerImage($30)
#define BASIC 10
#define SHOTMONEY 50
#define IMAGEMONEY 30

//Every entity is a function
void doctorOfficeSim();
void patient(int index);
void waitingRoomNurse();
void Nurse(int id);
void doctor (int id);
void cashier();
void xray(int id);

int moneycalculate(examSheet* Sheet);
void nurseTaskDelay();






